<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>发现详情页分享</title>
     <link rel="stylesheet" href="https://ttresource.oss-cn-beijing.aliyuncs.com/handupload/video.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/Swiper/4.2.0/css/swiper.min.css">
    <style>
        body, html{font-family: PingFangSC-Regular, sans-serif;}
        body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0; }
        body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; }
        h1, h2, h3, h4, h5, h6{ font-size:100%; }
        address, cite, dfn, em, var { font-style:normal; }
        code, kbd, pre, samp { font-family:couriernew, courier, monospace; }
        small{ font-size:12px; }
        ul, ol { list-style:none; }
        a { text-decoration:none; }
        a:hover { text-decoration:underline; }
        sup { vertical-align:text-top; }
        sub{ vertical-align:text-bottom; }
        legend { color:#000; }
        fieldset, img { border:0; }
        button, input, select, textarea { font-size:100%; }
        table { border-collapse:collapse; border-spacing:0; }

        .line{
            width: 100%;
            height: 10px;
            background: #f3f3f3;
        }
        .bor_no{
            border: none!important;
        }
        .red_color{
            color: #FF4954!important;
        }
        .FindDetails{
             width: 100%;
            /*height: 100%;*/
            position: absolute;
            left: 0;
            top: 0;
            background: #F3F3F3;
        }
        .share_data{
            width: 100%;
            /*height: 100%;*/
            background: #fff;
        }
        .share_data_child{
            text-align: center;
        }
        .share_data_one{
            font-size: 40px;
            color: #2A2A2A;
            font-weight: 700;
            padding-top: 18px;
        }
        .share_data_two{
            font-size: 12px;
            color: #2A2A2A;
            font-weight: 400;
        }
        .share_data_three{
             font-size: 14px;
            color: #2A2A2A;
            font-weight: 500;
            padding-top: 13px;
            border-bottom: 1px solid #DFDFDF;
            padding-bottom: 13px;
        }
        .share_data_flex{
            display: flex;
            align-items: center;
            min-height: 70px;
        }
        .share_data_flex>div{
            width: 50%;
            text-align: center;
        }
        .share_data_flex_one{
            font-size: 24px;
            color: #6F757C;
            font-weight: 600;
        }
        .share_data_flex_two{
             font-size: 12px;
            color: #C3C3C3;
            font-weight: 400;
        }
        .share_data_flex_three{
             font-size: 24px;
            color: #FF4954;
            font-weight: 600;
            position: relative;
        }
        .share_data_flex_three img{
            width: 6px;
            height: 8px;
            margin-left: 5px;
            margin-bottom: 10px;
        }
        .share_data_flex_four{
             font-size: 12px;
            color: #C3C3C3;
            font-weight: 400;
        }
        .chazhuang{
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 62px;
            padding: 0 18px;
            background: #fff;
            margin: 10px 0;
        }
        .chazhuang_left{
            font-size: 14px;
            color: #6F757C;
            font-weight: 400;
        }
        .chazhuang_right{
            font-size: 14px;
            color: #2A2A2A;
            font-weight: 400;
        }
        .zhexiantu{
            padding: 18px;
            background: #fff;
        }
        .zhexianTab{
            font-size: 12px;
            color: #C3C3C3;
            font-weight: 500;
            margin-bottom: 18px;
            /* display: flex; */
            align-items: center;
            justify-content: space-between;
            height: 30px;
        .zhexianTab div{
            /* float: left; */
        }
        .today{
            width: 40%;
            border: 1px solid #f3f3f3;
            text-align: center;
            height: 30px;
            line-height: 30px;
            border-radius: 4px;
            margin-right: 20px;
            float: left;
        }
        .other{
            width: 40%;
            display: flex;
            border: 2px solid #f3f3f3;
            text-align: center;
            height: 30px;
            line-height: 30px;
            border-radius: 4px;
        }
        .week{
            width: 24%;
            border: 2px solid #f3f3f3;
            text-align: center;
            height: 30px;
            line-height: 30px;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
            float: right;
            border-left: none;
        }
        .month{
            float: right;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
            border-left: 2px solid #f3f3f3;
            width: 24%;
            border: 2px solid #f3f3f3;
            text-align: center;
            height: 30px;
            line-height: 30px;
            /* border-right: none; */
        }
        .actives{
            background: #f3f3f3;
            color: #2a2a2a;
        }
        .daojishi{
            margin-top: 10px;
            background: #FF4954;
            /*min-height: 30px;*/
            padding: 5px 18px;
            font-size: 12px;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .del_btn{
            width: 100%;
            background: #2A2A2A;
            font-size: 16px;
            color: #F7D558;
            font-weight: 500;
            text-align: center;
            line-height: 48px;
            height: 48px;
            /*margin-top: 25px;*/
        }
        .find_nav_box{
            height: 50px;
            width: 100%;
            display: flex;
            align-items: center;
            font-size: 12px;
            color: #C3C3C3;
            font-weight: 500;
            position: relative;
            background: #fff;
        }
        .find_total{
            /*width: 32%;*/
            padding-left: 18px;
        }
        .find_nav{
            width: 100%;
            display: flex;
            justify-content: space-around;
        }
        .find_nav div{
            /* width: 24%; */
            position: relative;
        }
        .find_nav_active{
            color: #2A2A2A;
        }
        .find_nav_active:after{
            content: "";
            position: absolute;
            border-bottom: 2px solid #2A2A2A;
            bottom: -16px;
            left: 0;
            width: 100%;
        }
        .dind1 {
            width: 100%;
            overflow: hidden;
            background: #F2F2F2;
        }

        .find_user_info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 18px 18px 5px 18px;
        }

        .find_user_flex {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: #2A2A2A;
            font-weight: 500;
        }

        .user_info_head {
            width: 28px;
            height: 28px;
            border-radius: 100%;
            overflow: hidden;
            margin-right: 7px;
        }

        .user_info_head img {
            width: 100%;
            height: 100%;
        }

        .find_user_time {
            font-size: 12px;
            color: #B5B5B5;
            font-weight: 400;
        }

        .find_desc {
            padding: 0 18px 10px 51px;
            font-size: 14px;
            color: #6F757C;
            font-weight: 400;
        }

        .find_user_selfie {
            padding: 0px 18px 18px 0;
            margin-left: 51px;
            border-bottom: 1px solid #DFDFDF;
            display: flex;
            flex-wrap: wrap;
        }

        .find_user_selfie_img {
            width: 80px;
            height: 80px;
            margin-right: 6px;
            margin-bottom: 6px;
        }

        .find_user_selfie_img img {
            width: 100%;
            height: 100%;
            display: block;
        }
        .videoBg{
            margin: 18px;
        }
        .videoBgs {
            padding: 18px;
            width: 100%;
            height: 200px;
            box-sizing: border-box;
            /* overflow: hidden; */
        }

        .find_chazhuang_img {
            width: 100%;
            height: auto;
        }

        .find_chazhuang_img img {
            width: 100%;
            height: 100%;
            display: block;
        }

        .find_chazhuang {
            box-sizing: border-box;
            overflow: hidden;
            margin-top: 40px;
        }

        .swiper_box {
            width: 190px;
            margin-top: 40px;
            margin-bottom: -20px;
            overflow-x: scroll;
        }

        .swiper {
            width: 10000px;
            display: flex;
            overflow-x: scroll;
        }

        .swiper_item {
            width: 300px;
            height: 118px;
            background: #ccc;
            margin-right: 20px;
            overflow-x: scroll;
        }

        .swiper-container {
            margin-left: 18px;
            margin-top: 20px!important;
            width: 100%;
            height: 118px;
            margin-bottom: -20px!important;
        }

        .swiper-slide {
            /* text-align: center; */
            font-size: 18px;
            background: #fff;
            min-width: 300px;
            width: auto!important;
            font-size: 10px;
            color: #6F757C;
            font-weight: 400;
        }

        .swiper-slide>div {
            height: 28px;
            border-bottom: 1px solid #DFDFDF;
            display: flex;
            align-items: center;
            margin: 0 18px;
        }

        .swiper-slide>div:last-child {
            border: none;
        }

        .swiper-slide>div>div:nth-child(1) {
            /* width: 50%; */
        }

        .swiper-slide>div>div:nth-child(2) {
            /* width: 50%; */
            padding-left: 50px;
        }

        .find_swiper_flex {
            display: flex;
            align-items: center;
        }
        .dind3{
            background: #fff;
        }
         .write_bg{
            width: 100%;
            height: 50px;
            background: #fff;
            position: absolute;
            bottom: -51px;
        }
        .jiaoyyi_list{
            background: #fff;
            padding: 0 18px;
        }
        .jiaoyyi_item{
             display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            font-size: 12px;
            border-bottom: 1px solid #e2e2e2;
        }
        .jiaoyyi_one{
            width: 28px;
            height: 28px;
            border-radius: 100%;
            overflow: hidden;
        }
        .jiaoyyi_one img{
             width: 100%;
            height: 100%;
        }
        .flexs{
            display: flex;
            align-items: center;
        }
        .jiaoyyi_two{
            margin-left: 10px;
            color: #2A2A2A;
            font-weight: 600;
        }
        .jiaoyyi_three{
            color: #6F757C;
            font-weight: 500;
        }
        .jiaoyyi_four{
            color: #6F757C;
            font-weight: 500;
        }
        .jiaoyyi_five{
            color: #2A2A2A;
            font-size: 10px;
            border: 1px solid #2A2A2A;
            border-radius: 2px;
            padding: 0 10px;
        }
        .jiaoyi_ac{
            background: #000;
            color: #fff;
        }
        .jiaoyi_tab{
            background: #fff;
            padding-right: 18px;
            display: flex;
            justify-content: space-between;
            padding-top: 12px;
        }
        .jiaoyi_c_tab{
            display: flex;
            
            font-size: 10px;
            color: #C3C3C3;
        }
        .jiaoyi_c_tab>div{
            width: 50px;
            border: 1px solid #C3C3C3;
            text-align: center;
            margin: 0 2px;
            /*border-right: none;*/
        }
        .jiaoyi_c_tab>div:last-child{
             border-right: 1px solid #C3C3C3;
        }
        .jiaoyi_c_tab_active{
            color: #2A2A2A;
            font-weight: 600;
        }
    </style>
</head>
<body>
    <div class="FindDetails">
	<div class="share_data">
        <div class="share_data_child">
            <div class="share_data_one">¥1,020.00</div>
            <div class="share_data_two">历史平均</div>
            <div class="share_data_three">大湾2018年春茶熟饼</div>
        </div>
        <div class="share_data_flex">
            <div>
                <div class="share_data_flex_one">1600</div>
                <div class="share_data_flex_two">用户持仓量</div>
            </div>
            <div>
                <div class="share_data_flex_three">+0.2%<img src="./image/jiantouhong.png"></div>
                <div class="share_data_flex_four">涨幅度</div>
            </div>
        </div>
    </div>
    <div class="line"></div>
    <div class="zhexiantu">
        <div class="zhexianTab">
            <div class="today tab actives">今日</div>
            <!-- <div class="other"> -->
            <div class="week tab">本月</div>
            <div class="month tab">本周</div>
            <!-- </div> -->
        </div>
        <div>
            <div id="container" style="width: 100%;height:200px;"></div>
        </div>
    </div>
    <div class="line"></div>
    <div class="find_nav_box">
        <div class="find_nav">
            <div class="find_total find_nav_active">交易(2,450)</div>
            <div>简介</div>
            <div>茶庄</div>
            <div>用户评论</div>
        </div>
        <div class="write_bg" style="display: none">
                
            </div>
    </div>
        <div class="find_tab_box">
            <div class="dind0 finds">
                <div class="jiaoyi_tab">
                    <div></div>
                    <div class="jiaoyi_c_tab">
                        <div class="jiaoyi_c_tab_active">实时</div>
                        <div>价格</div>
                        <div>买入</div>
                        <div>满足TA</div>
                    </div>
                </div>
                <div class="jiaoyyi_list">
                    <div class="jiaoyyi_item">
                        <div class="flexs">
                            <div class="jiaoyyi_one"><img src="./image/goodsImg.png"></div>
                            <div class="jiaoyyi_two">小柱子</div>
                        </div>
                        <div class="jiaoyyi_three">36</div>
                        <div class="jiaoyyi_four">¥1,202.00</div>
                        <span class="jiaoyyi_five jiaoyi_ac">满足TA</span>
                    </div>
                    <div class="jiaoyyi_item">
                        <div class="flexs">
                            <div class="jiaoyyi_one"><img src="./image/goodsImg.png"></div>
                            <div class="jiaoyyi_two">小柱子</div>
                        </div>
                        <div class="jiaoyyi_three">36</div>
                        <div class="jiaoyyi_four">¥1,202.00</div>
                        <span class="jiaoyyi_five">满足TA</span>
                    </div>
                    <div class="jiaoyyi_item">
                        <div class="flexs">
                            <div class="jiaoyyi_one"><img src="./image/goodsImg.png"></div>
                            <div class="jiaoyyi_two">小柱子</div>
                        </div>
                        <div class="jiaoyyi_three">36</div>
                        <div class="jiaoyyi_four">¥1,202.00</div>
                        <span class="jiaoyyi_five">满足TA</span>
                    </div>
                </div>
            </div>
            <div class="dind1 finds" style="display: none">
                <div class="videoBg">
                    <video id="my-video" class="video-js videoBgs videoBgs1" controls preload="auto" poster="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSMkZ8908OI26Xnnsei6xpcJdMMR15Ozd7e_IBXNYzbp860vjdg"
                        data-setup="{}">
                        <p class="vjs-no-js">
                            To view this video please enable JavaScript, and consider upgrading to a web browser that
                            <a href="http://videojs.com/html5-video-support/" target="_self">supports HTML5 video</a>
                        </p>
                    </video>
                </div>
                <div class="swiper-container">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <div>
                                <div>种类: data.kind </div>
                                <div>年份: data.age </div>
                            </div>
                            <div>
                                <div>规格: data. </div>
                                <div>发行量: data. </div>
                            </div>
                            <div>原料: data.material </div>
                            <div>仓储库房: data.repo </div>
                        </div>
                        <div class="swiper-slide">
                            <div>
                                <div>工艺: data.technology </div>
                                <div>茶山: data. </div>
                            </div>
                            <div>
                                <div>海拔: data.altitude </div>
                                <div>古树量: data. </div>
                            </div>
                            <div>
                                <div>年平均气温: data. </div>
                                <div>年平均降水: data. </div>
                            </div>
                            <div>产地: 云南省普洱市</div>
                        </div>
                    </div>
                </div>
                <div class="find_chazhuang">
                    <div class="find_chazhuang_img">
                        <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                    </div>
                </div>
            </div>
            <div class="dind2 finds" style="display: none">
                <div class="videoBg">
                    <video id="my-video" class="video-js videoBgs videoBgs2" controls preload="auto" poster="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSMkZ8908OI26Xnnsei6xpcJdMMR15Ozd7e_IBXNYzbp860vjdg"
                        data-setup="{}">{/*./images/vdbg.png*/}
                        <p className="vjs-no-js">
                            To view this video please enable JavaScript, and consider upgrading to a web browser that
                            <a href="http://videojs.com/html5-video-support/" target="_self">supports HTML5 video</a>
                        </p>
                    </video>
                </div>
                 <div class="find_chazhuang">
                    <div class="find_chazhuang_img">
                        <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                    </div>
                </div>
            </div>
            <div class="dind3 finds" style="display: none">
                <div>
                    <div class="find_user_info">
                        <div class="find_user_flex">
                            <div class="user_info_head">
                                <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                            </div>
                            <div>柱子</div>
                        </div>
                        <div class="find_user_time">2018.01.22</div>
                    </div>
                    <div class="find_desc">预售买了之后就提仓泡来喝了, 味道很好。
                    </div>
                    <div class="find_user_selfie">
                        <div class="find_user_selfie_img">
                            <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                        </div>
                        <div class="find_user_selfie_img">
                            <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                        </div>
                        <div class="find_user_selfie_img">
                            <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                        </div>
                        <div class="find_user_selfie_img">
                            <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                        </div>
                        <div class="find_user_selfie_img">
                            <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                        </div>
                        <div class="find_user_selfie_img">
                            <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                        </div>
                        <div class="find_user_selfie_img">
                            <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                        </div>
                        <div class="find_user_selfie_img">
                            <img src="http://ttresource.oss-cn-beijing.aliyuncs.com/handupload/921516853205_.pic_hd%403x.png" alt="">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="http://vjs.zencdn.net/6.6.3/video.js"></script>
<script src="https://cdn.bootcss.com/Swiper/4.2.0/js/swiper.min.js"></script>
<script src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script>
<script type="text/javascript">
    $('.tab').click(function () {
        line_data = [];
        var i = $(this).index();//下标第一种写法
        $(this).addClass('actives').siblings().removeClass('actives');
        current = $(this).html();
    })
	$('.find_nav div').click(function() {
        var i = $(this).index();//下标第一种写法
        $(this).addClass('find_nav_active').siblings().removeClass('find_nav_active');
        $('.find_tab_box .finds').eq(i).show().siblings().hide();
        var swiper = new Swiper('.swiper-container', {
            slidesPerView: 'auto',
            spaceBetween: 30,
            pagination: {
                el: '.swiper-pagination',
                clickable: true,
            },
        });
        if(i == 3 || i == 0) {
        	$(".write_bg").hide()
        }else{
        	$(".write_bg").show()
        }
    });
    $('#container').highcharts({
        chart: {
            height: 200,
            type: 'line'
        },
        title: {
            text: ''
        },
        subtitle: {
            text: ''
        },
        yAxis: {
            title: {
                text: ''
            }
        },
        credits: {
            enabled: false
        },
        colors: ['#F3F3F3'],
        xAxis: {
            // categories: ['', '', '', '', '', '', '', '', '', '', '', '']
        },
        series: [{
            name: ' ',
            data: [1,4,2,4,4,4,4,4,4,2]
        }]
    }, function (chart) { // on complete
        var min = 1000,
            max = 0,
            pointsToShow = [0, 0],
            points = chart.series[0].points;
        Highcharts.each(points, function (p) {
            if (p.y > max) {
                pointsToShow[0] = p.index;
                max = p.y;
            }
            if (p.y < min) {
                pointsToShow[1] = p.index;
                min = p.y;
            }
        });
        render(chart, points[pointsToShow[0]], '￥');
        render(chart, points[pointsToShow[1]], '￥');
        //var point = chart.series[0].points[8];
    });
    function render(chart, point, text) {
        console.log(chart.renderer)
        chart.renderer.label(text + ' ' + point.y, point.plotX + chart.plotLeft - 20, point.plotY + chart.plotTop - 45, 'callout', point.plotX + chart.plotLeft, point.plotY + chart.plotTop)
            .css({
                color: '#fff',
                align: 'center',
                borderWidth: "5px",
                borderColor: "red",
                borderStyle: "solid",

            })
            .attr({
                fill: 'rgba(0, 0, 0, 0.75)',
                padding: 8,
                r: 5,
                zIndex: 6,
            })
            .add();
    }

</script>
</html>